/**
 * File for state. Things like War, Peace, etc.
 */
package edu.gatech.spacetraderteam3.model;

/**
 * Different planet/system states - still thinking of more that'd be applicable.
 * 
 * @author Aaron
 * @version 0.1
 * 
 */
public enum State {
    WAR,
    PEACE,
    FAMINE,
    DROUGHT,
    SURPLUS,
    RECESSION,
    BORED,
    BUSY,
    COLDSPELL,
    PLAGUE,
    NOWORKERS,
    NOSTATE;

    /**
     * Utility method that returns a random State.
     * @return	A random state.
     */
    public static State random() {
        return values()[(int) (Math.random() * values().length)];
    }
}
